
public class TestApp {

	public static void main(String[] args){
		MathStuff app = new MathStuff(1,2,3);
		app.add();
		
	}
}

class MathStuff {
	private int one, two, three;
	
	public MathStuff(int x, int y, int z){
		one = x;
		two = y;
		three = z;
		
	}
	public void add(){
		int sum;
		sum = one + two + three;
		System.out.println("The sum is: "+ sum);
	}
	
}